package com.tz.marlon.web.personal;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.tz.marlon.bean.Article;

@Controller
@RequestMapping("/personal")
public class PersonalController {

	@RequestMapping("/article")
	public String index(){
		return "personal/index";
	}
	
	@RequestMapping("/save")
	public String saveArticle(Article article){
		article.setIsDelete(1);
		article.setStatus(1);
		
		return "personal/index";
	}
}
